package com.woniuxy.service;

import com.woniuxy.entity.RbacManager;

import java.util.List;
import java.util.Map;
//用户管理的业务层
public interface RbacManagerService {
    RbacManager findOne(int id);
    List<RbacManager> findAll();
    int addOne(RbacManager rbacManager);
    int updateOne(RbacManager rbacManager);
    int deleteOne(int id);

    List<RbacManager> findByName(String username);

    List<RbacManager> findByIds(Integer[] ids);

    int addOneForMap(Map<String, Object> userinfo);
}
